package com.eastfair.pay.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.pay.dto.InvoiceCallbackDTO;
import com.eastfair.pay.dto.SettlementPageQuery;
import com.eastfair.pay.dto.SettlementSaveDTO;
import com.eastfair.pay.entity.Settlement;
import com.eastfair.pay.vo.SettlementVO;

/**
 * <p>
 * 业务接口
 * 结算单
 * </p>
 *
 * @author clm
 * @date 2022-06-08
 */
public interface SettlementService extends SuperService<Settlement> {

   void settlementSaveDeail(SettlementSaveDTO saveDTO);

   Page<SettlementVO> queryPageList(PageParams<SettlementPageQuery> params);

   SettlementVO  settlementQueryById( Long settlementId);

   /**
    * @Author clm
    * @Description 开票回填
    * @Date 14:52 2022/7/14
    * @Param [invoiceCallbackDTO]
    * @return void
    **/
   void updateForInvoice(InvoiceCallbackDTO invoiceCallbackDTO);
}
